.cooperate-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;

  .container-main {
    flex: 1;
    padding-bottom: 2.5rem;

    .main-title {
      .title {
        color: #333;
        font-size: 2rem;
        font-weight: 600;
        line-height: 2.8125rem;
      }

      .subtitle {
        color: #999;
        font-size: 1rem;
        line-height: 1.375rem;
        text-transform: uppercase;
        margin-top: .25rem;
      }

      &::after {
        content: "";
        display: block;
        width: 3rem;
        height: .375rem;
        background: var(--main-color);
        margin-top: .25rem;
      }
    }

    .main-screen {
      background: #F8F8F8;

      .screen-box {
        overflow: auto;
        white-space: nowrap;
        text-align: center;

        .item {
          display: inline-block;
          padding: 1.8125rem 2rem 0;
          cursor: pointer;
          text-align: center;
          color: #333;
          font-size: 1rem;
          line-height: 1.375rem;
          word-break: keep-all;
          transition: color .3s;

          &::after {
            content: "";
            display: block;
            width: 100%;
            height: .25rem;
            background: transparent;
            margin: 1.5625rem auto 0;
            transition: background .3s;
          }

          &.active,
          &:hover {
            color: var(--main-color);

            &::after {
              background: var(--main-color);
            }
          }
        }

        @media (min-width: 767px) {
          &::-webkit-scrollbar {
            /*滚动条整体样式*/
            width: auto;
            /*高宽分别对应横竖滚动条的尺寸*/
            height: .5rem;
          }

          &::-webkit-scrollbar-thumb {
            /*滚动条里面小方块*/
            border-radius: .625rem;
            box-shadow: inset 0 0 5px rgba(97, 184, 179, 0.1);
            background: #ccc;
          }

          &::-webkit-scrollbar-track {
            /*滚动条里面轨道*/
            box-shadow: inset 0 0 5px rgba(87, 175, 187, 0.1);
            border-radius: .625rem;
            background: #ededed;
          }
        }
      }
    }

    .main-content {
      .column-cont {
        padding: 2.5rem 0;

        .cont-item {
          width: 100%;
          border: none;
          background: transparent;
          margin-top: 1.5rem;
          text-decoration: none;
          text-align: left;
          padding: 0;
          align-items: initial;

          &:first-child {
            margin-top: 0;
          }

          .item-image {
            width: 15rem;
            height: 10rem;
            border-radius: .3125rem;
            overflow: hidden;

            img {
              transition: all .3s;
            }
          }

          .item-info {
            flex: 1;
            overflow: hidden;
            margin-left: .75rem;
            display: flex;
            flex-direction: column;
            position: relative;

            .title {
              color: #333;
              font-size: 1.125rem;
              line-height: 1.5625rem;
              overflow: hidden;
              white-space: nowrap;
              text-overflow: ellipsis;
              transition: color .3s;
            }

            .introduce {
              flex: 1;
              color: #888;
              font-size: .875rem;
              line-height: 1.25rem;
              margin-top: .75rem;
              display: -webkit-box;
              -webkit-box-orient: vertical;
              overflow: hidden;
              -webkit-line-clamp: 3;
            }

            .tag {
              color: #333;
              font-size: .875rem;
              line-height: 1.25rem;
              margin-top: .625rem;
            }

            .btn {
              position: absolute;
              bottom: 0;
              right: 0;
              border-radius: .3125rem;
              border: 1px solid var(--main-color);
              color: var(--main-color);
              font-size: .875rem;
              line-height: 1.25rem;
              padding: .375rem .75rem;
            }
          }

          &:hover {
            .item-image img {
              transform: scale(1.2);
            }

            .item-info .title {
              color: var(--main-color);
            }

            .btn {
              background: var(--main-color);
              color: #fff;
            }
          }
        }
      }
    }
  }

  .modal-dialog {
    .modal-header {
      .modal-title {
        color: #333;
        font-size: 1.5rem;
        font-weight: bold;
        line-height: 2.125rem;
        text-align: center;
        flex: 1;
        padding-left: 3rem;
      }
    }


    .modal-body {
      .tips {
        color: #8D8D8D;
        font-size: 1rem;
        line-height: 1.375rem;
        text-align: center;
      }

      .code {
        width: 100%;
        max-height: 25rem;
        max-width: 25rem;
        margin: 1rem auto;
      }
    }
  }

  // 适配手机端
  @media screen and (max-width: 767px) {
    .container-main {
      .main-screen .screen-box .item {
        padding: 1rem 1rem 0;
        font-size: .875rem;

        &::after {
          margin-top: .75rem;
        }
      }

      .main-content .column-cont {
        padding: 1rem 0 1.875rem;

        .cont-item {
          margin-top: 1rem;

          .item-image {
            width: 9.375rem;
            height: 6.25rem;
          }

          .item-info {
            justify-content: space-between;

            .title {
              font-size: .875rem;
              line-height: 1.25rem;
            }

            .introduce {
              font-size: .75rem;
              line-height: 1.25rem;
              margin-top: 0;
              -webkit-line-clamp: 2;
              flex: none;
            }

            .tag {
              font-size: .75rem;
              line-height: 1.25rem;
              margin-top: 0;
            }

            .btn {
              display: none;
            }
          }
        }
      }
    }
  }
}